package com.chianghao.rock.admin.system.organization.dto;

import javax.validation.constraints.NotNull;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "Dept对象", description = "Dept对象")
public class OrganizationAddDto {
	
	
	@ApiModelProperty(value = "父主键")
	@NotNull(message="error:parent.id,not_null")
	private java.lang.Long parentId;
	
	@ApiModelProperty(value = "名称")
	@NotNull(message="error:name,not_null")
	private java.lang.String name;
	
	@ApiModelProperty(value = "排序")
	private java.lang.Integer sort;

	public java.lang.Long getParentId() {
		return parentId;
	}

	public void setParentId(java.lang.Long parentId) {
		this.parentId = parentId;
	}

	public java.lang.String getName() {
		return name;
	}

	public void setName(java.lang.String name) {
		this.name = name;
	}

	public java.lang.Integer getSort() {
		return sort;
	}

	public void setSort(java.lang.Integer sort) {
		this.sort = sort;
	}
	
	
	

}
